<?php
namespace PsiFramework\Classes\Util\Parameters\Object\Operations\Elements;

import("Classes.Util.Parameters.Object.Operations.Elements.OperationObject");
import("Classes.Util.Parameters.Object.Operations.Elements.OperationElement");

use \PsiFramework\Classes\Util\Parameters\Object\Operations\Elements\OperationObject;
use \PsiFramework\Classes\Util\Parameters\Object\Operations\Elements\OperationElement;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The Trigger class is the class to manage object parameters columns
 *
 * @package Util.Parameters.Object
 */
class OperationColumn extends OperationElement
{

    protected /*OperationObject*/ $_object ;
    protected /*string*/          $_name ;
    protected /*string*/          $_alias ;
    protected /*string*/          $_newOld ;

    public function __construct(
        /*string*/      $name=null,
        OperationObject $object=null,
        /*string*/      $alias=null,
        /*string*/      $newOld=null
    )
    {
        $this->_name = $name ;
        $this->_object = $object ;
        $this->_alias = $alias ;
        $this->_newOld = $newOld ;
    }

    public function getName()
    {
        return $this->_name ;
    }

    public function setName(/*string*/ $name)
    {
        $this->_name = $name ;
    }

    public function getObject()
    {
        return $this->_object ;
    }

    public function setObject(OperationObject $object)
    {
        $this->_object = $object ;
    }

    public function getAlias()
    {
        return $this->_alias ;
    }

    public function setAlias(/*string*/ $alias)
    {
        $this->_alias = $alias ;
    }

    public function getNewOld()
    {
        return $this->_newOld ;
    }

    public function setNewOld(/*string*/ $newOld)
    {
        $this->_newOld = $newOld ;
    }

}
